package com.rc.saas.mini.service.order;


import com.rc.saas.mini.mapper.order.OrderRefundApplyMapper;
import com.rc.saas.mini.model.order.OrderRefundApply;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderRefundApplyServiceImpl implements OrderRefundApplyService {
    @Autowired
    private OrderRefundApplyMapper orderRefundApplyMapper;

    @Override
    public OrderRefundApplyMapper getMapper() {
        return orderRefundApplyMapper;
    }

    @Override
    public int insertByReturnId(OrderRefundApply orderRefundApply) {
        return orderRefundApplyMapper.insertByReturnId(orderRefundApply);
    }

    @Override
    public List<OrderRefundApply> listByCondition(OrderRefundApply orderRefundApply) {
        return orderRefundApplyMapper.listByCondition(orderRefundApply);
    }

    @Override
    public List<OrderRefundApply> listByOrderIds(List<Long> ids) {
        return orderRefundApplyMapper.listByOrderIds(ids);
    }
}
